package com.cencat.route.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 司机查询条件VO
 * 
 * @author cencat
 * @version 1.0
 * @since 2024-01-01
 */
@Data
@Schema(description = "司机查询条件")
public class DriverQueryVO {

    @Schema(description = "司机姓名")
    private String driverName;

    @Schema(description = "司机编号")
    private String driverCode;

    @Schema(description = "手机号码")
    private String phoneNumber;

    @Schema(description = "身份证号")
    private String idCardNumber;

    @Schema(description = "驾驶证号")
    private String licenseNumber;

    @Schema(description = "驾驶证类型")
    private String licenseType;

    @Schema(description = "司机状态")
    private String driverStatus;

    @Schema(description = "认证状态")
    private String verificationStatus;

    @Schema(description = "车辆类型")
    private String vehicleType;

    @Schema(description = "车牌号")
    private String vehiclePlateNumber;

    @Schema(description = "最小年龄")
    private Integer minAge;

    @Schema(description = "最大年龄")
    private Integer maxAge;

    @Schema(description = "最小驾龄")
    private Integer minDrivingExperience;

    @Schema(description = "最大驾龄")
    private Integer maxDrivingExperience;

    @Schema(description = "最小信用分数")
    private BigDecimal minCreditScore;

    @Schema(description = "最大信用分数")
    private BigDecimal maxCreditScore;

    @Schema(description = "信用等级")
    private String creditLevel;

    @Schema(description = "注册开始时间")
    private LocalDateTime registrationStartTime;

    @Schema(description = "注册结束时间")
    private LocalDateTime registrationEndTime;

    @Schema(description = "最后登录开始时间")
    private LocalDateTime lastLoginStartTime;

    @Schema(description = "最后登录结束时间")
    private LocalDateTime lastLoginEndTime;

    @Schema(description = "创建开始时间")
    private LocalDateTime createStartTime;

    @Schema(description = "创建结束时间")
    private LocalDateTime createEndTime;

    @Schema(description = "更新开始时间")
    private LocalDateTime updateStartTime;

    @Schema(description = "更新结束时间")
    private LocalDateTime updateEndTime;

    @Schema(description = "创建人ID")
    private Long createdBy;

    @Schema(description = "更新人ID")
    private Long updatedBy;

    @Schema(description = "是否删除")
    private Boolean deleted;

    @Schema(description = "关键字搜索（姓名、编号、手机号）")
    private String keyword;

    @Schema(description = "排序字段")
    private String sortField;

    @Schema(description = "排序方向（ASC/DESC）")
    private String sortOrder;

}